<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>跳转提示</title>
<link href="/skin/theme/public/css/dispatch.css" rel="stylesheet"
	type="text/css" />
</head>
<body>
	<div class="system-message">
		#if(status??)
		<div class="success">
			<h1><i></i>操作成功</h1>			
			<p>#(message??)</p>
		</div>
		#else		
		<div class="error">
			<h1><i></i>操作失败</h1>			
			<p>#(message??)</p>
		</div>
		#end
		<p class="jump">
			页面自动 <a id="href" href="#" onclick="javascript:doActionScript()">跳转</a> 等待时间： <b id="wait">#(seconds??3)</b>
		</p>
	</div>
	#(doActionScript??)
	<script type="text/javascript">
		(function() {
			var wait = document.getElementById('wait'), href = document
					.getElementById('href').href;
			if (wait.innerHTML < 1) {
				location.href = href;
				return;
			}
			var interval = setInterval(function() {
				var time = --wait.innerHTML;
				if (time <= 0) {
					doActionScript();
					clearInterval(interval);
				}
				;
			}, 1000);
		})();
	</script>
</body>
</html>
